package cn.com.dycc.topic_activity.service;

import javax.servlet.http.HttpServletRequest;

import cn.com.dycc.topic_activity.param.Pb_Activity_VoteParam;
import cn.com.dycc.util.JsonObjectResult;

public interface Pb_Activity_VoteService {
	
	/**
	 * 新增专题活动的投票点赞信息
	 * @param param 专题活动的投票点赞信息参数
	 * @param request 请求响应对象
	 * @return
	 * @throws Pb_Activity_VoteNotFoundException
	 */
	public int addPb_Activity_Vote(Pb_Activity_VoteParam param,HttpServletRequest request) throws Pb_Activity_VoteNotFoundException;

	/**
	 * 删除专题活动的投票点赞信息
	 * @param attrStrs 删除数据主键id数组
	 * @param request 请求响应对象
	 * @return
	 * @throws Pd_Activity_VoteNotFoundException
	 */
	public int deletePb_Activity_Vote(String[]attrStrs,HttpServletRequest request) throws Pb_Activity_VoteNotFoundException;
	
	
	/**
	 * 查询专题活动的投票点赞信息
	 * @param param 专题活动的投票点赞信息参数
	 * @param request 请求响应对象
	 * @return
	 * @throws Pd_Activity_VoteNotFoundException
	 */
	public JsonObjectResult findPb_Activity_VoteByParam(Pb_Activity_VoteParam param,HttpServletRequest request) throws Pb_Activity_VoteNotFoundException;
	
}
